<link href="http://localhost/citest/css/style.css" rel="stylesheet" type="text/css"/>
<?php $this->load->view("includes/header")?>
<?php $this->load->view("includes/sidebar-a")?>
<?php $this->load->view("includes/sidebar-b")?>
<div id="content">
    
       <?php
            if(isset($content)){
                foreach($content as $page){
                    echo "
                        <div class='post'>
                        <h2>{$page['page_name']}</h2>
                        <p>{$page['content']}</p>
                        <p class='meta'><strong>On: </strong> {$page['post_on']} </p>
                        </div>
                        ";
                }
            }
            else{
                echo" Code Igniter";
            }
        ?>   

</div>

<?php $this->load->view("includes/footer")?>

